package com.coderman.infosys.busorder.domain.enums;

import lombok.Getter;

/**
* @Description:运维工单类型类
* @Author:shenshuai
* @CreateTime:2021-09-30 11:16:45
* @version v1.0
*/
@Getter
public enum OpsOrderTypeEnum{

   /**
    *
    */
   DOMAIN_APPLY("domainApply","confluence系统权限申请"),
   CLUST_EXPANSION_APPLY("clustExpansionApply","集群扩容申请"),
   MACHINE_MANAGE_APPLY("machineManageApply","机器升配，降配"),
   DOMAIN_OFFLINE_APPLY("domainOfflineApply","域名回收申请"),
   CLUST_OFFLINE_APPLY("clustOfflineApply","集群下线申请"),
   ;

   /** 类型code **/
   private String code;
   /** 类型描述 **/
   private String desc;


   OpsOrderTypeEnum(String code,String desc){
       this.code = code;
       this.desc = desc;
   }



   /**
    *
    * @Description:static
    * @return OpsOrderTypeEnum
    */
   public static OpsOrderTypeEnum  getByCode(String code){
       return null;
   }

}